<template>
  <Mgr v-if="!fullScreen"/>
  <RouterView v-if="fullScreen"/>
</template>

<script lang="ts">
import {RouterView} from 'vue-router'
import Mgr from "@/components/framework/Mgr.vue";

export default {
  components: {Mgr, RouterView},
  watch: {
    $route(to, from) {
      this.fullScreen = to.meta.fullScreen
    }
  },
  data() {
    return {
      fullScreen: true
    }
  }
}
</script>
